#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
    int n,v,a[10000],i,MinV;
    while (cin>>n>>v)
    {
          MinV=1000000000;
          for (i=0;i<n;i++)cin>>a[i];
          for (i=0;i<n;i++)if (MinV>a[i])MinV=a[i];
          cout<<v/MinV<<endl;
    }
    return EXIT_SUCCESS;
}
